package com.cskaoyan.service;

import com.cskaoyan.bean.*;
import com.cskaoyan.model.bo.GoodsBO;
import com.cskaoyan.model.bo.ShangJiaBO;
import com.fasterxml.jackson.core.JsonProcessingException;

public interface GoodsService {
    BaseListData list(Integer page,Integer limit ,String sort,String order);

    GoodsEdit detail(Integer id) throws JsonProcessingException;

    int delete(Goods goods);

    BaseListData list2(Integer page, Integer limit, String sort, String order, Integer goodsSn, String name);

    int create(Goods_attribute goods_attribute,
               GoodsBO goodsBO,
               Goods_product goods_product,
               Goods_specification goods_specification);
}
